<?php $this->placeholder('onReady')->captureStart() ?>
	$("#<?php echo $this->id_tablesorter?>").tablesorter(); 
    $('#myTable legend').hide();
<?php $this->placeholder('onReady')->captureEnd() ?>



<?php echo $this->insertarFila($this->controllerName,$this->idZona);?>


<table id="<?= $this->id_tablesorter?>" width="100%" class="tablesorter"> 
    <caption>
       <div id="total_table_filter" style="float: right;">Total <span class="filtradas"><?=count($this->rows)?> Registros</span></div>    
    </caption>	
    <thead>
		<tr>
			<th><?php echo $this->translate('Nombre');?></th> 
    		<th><?php echo $this->translate('Ubicación');?></th> 
    		<th><?php echo $this->translate('Tipo de Sala');?></th> 
    		<th><?php echo $this->translate('Estado');?></th> 
    		<th><?php echo $this->translate('Superficie Neta m<sup>2</sup>');?></th> 
    		<th><?php echo $this->translate("Nº CRAC's");?></th> 
            <th><?php echo $this->translate('Potencia CRAC KW');?></th> 
    		<th><?php echo $this->translate('Plano');?></th> 
            <th><?php echo $this->translate('Notas');?></th> 
           	<th class="configure filter-false"></th> 
    	</tr>
    </thead>
    <tbody>
        <?php echo $this->partialLoop($this->controllerName.'/fila.phtml', (array)$this->rows); ?>	
    </tbody>
    <tfoot>
<tr>
    <th></th>
    <th></th>
    <th></th>
    <th></th>
    <th><?php echo $this->numES($this->suma['sup_neta'],2);?> m<sup>2</sup></th>
    <th><?php echo $this->numES($this->suma['nclimas'],0);?> </th>
    <th><?php echo $this->numES($this->suma['potencia_frio'],2);?> kW</th>
    <th></th>
    <th></th>
    <th></th>
</tr>
</tfoot>
</table>


       
